Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Conversation

@jrsconfitto
Copy link
Owner

This fixes 2 issues with powershell comparison operators matching in the grammar:

  1. The operators were being highlighted if they were part of a word (from issue Operators highlighting #26)
  2. The operators currently only match if what's typed is lower-case, but they should be case-insensitive.

These commits seem to get the word boundary stuff working:

image

Before, -equal would have -eq highlighted but not the rest of the word.

Comparison operators PowerShell reference

jrsconfitto added a commit that referenced this pull request Nov 25, 2014
Fix comparison operator matching
@jrsconfitto jrsconfitto merged commit 8e5af70 into master Nov 25, 2014
@jrsconfitto jrsconfitto deleted the fix-26 branch November 25, 2014 18:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants